{extend name="base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/mmgrid/mmGrid.css?v={$v}" />
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/webuploader/webuploader.css?v={$v}" />
{/block}
{block name="js"}
<script src="__STATIC__/plugins/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
<script src="__ADMIN__/shopflows/shopflows.js?v={$v}" type="text/javascript"></script>
<script type='text/javascript' src='__STATIC__/plugins/webuploader/webuploader.js?v={$v}'></script>
{/block}
{block name="main"}
<div id='alertTips' class='alert alert-success alert-tips fade in'>
    <div id='headTip' class='head'><i class='fa fa-lightbulb-o'></i>操作说明</div>
    <ul class='body'>
        <li>基础步骤无法删除与隐藏。请保持“签订入驻协议”和“入驻审核”分别为首尾步骤，请勿在这两个步骤中新增字段。</li>
        <li>前台页面将按照步骤排序进行展示。</li>
        <li>当隐藏步骤时，前台页面则不显示该步骤。</li>
    </ul>
</div>
{if WSTGrant('RZLC_01')}
<div class="wst-toolbar">
   <button class="btn btn-success f-right" onclick="javascript:toEdit(0)"><i class='fa fa-plus'></i>新增</button>
   <div style="clear:both"></div>
</div>
{/if}
<div class='wst-grid'>
 <div id="mmg" class="mmg"></div>
 <div id="pg" style="text-align: right;"></div>
</div>

<div id='flowBox' style='display:none'>
    <form id='flowForm' method="post" autocomplete="off">
        <table class='wst-form wst-box-top'>
            <tr>
                <th width='150'>步骤名称<font color='red'>*</font>：</th>
                <td><input type='text' id='flowName' name="flowName"  class='ipt' maxLength='20' style='width:200px;'/></td>
            </tr>
            <tr>
                <th width='150'>排序：</th>
                <td><input type='text' id='sort' name="sort"  class='ipt' maxLength='20' style='width:200px;'/></td>
            </tr>
        </table>
    </form>
</div>
<script>
  $(function(){initGrid({$p})});
</script>
{/block}
